body {
    /* padding-bottom: 30px; */
    position: relative;
    min-height: 100%;
}

a {
    transition: background 0.2s, color 0.2s;
    text-decoration: none !important;
}
.page-content a {
    color: #470024;
    font-weight: 500;
}
a:hover,
a:focus {
    text-decoration: none;
}

#admin-wrapper {
    padding-left: 0;
    /* transition: all 0.5s ease; */
    position: relative;
}

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    left: 250px;
    width: 0;
    height: 100%;
    margin-left: -250px;
    overflow-y: auto;
    overflow-x: hidden;
}

#admin-wrapper.toggled #sidebar-wrapper {
    width: 250px;
}

.sidebar-brand {
    position: absolute;
    top: 0;
    width: 250px;
    text-align: center;
    padding: 20px 0;
}
.sidebar-brand h2 {
    margin: 0;
    font-weight: 600;
    font-size: 24px;
    color: #fff;
}

.sidebar-nav {
    position: absolute;
    top: 75px;
    width: 250px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.sidebar-nav > li {
    text-indent: 10px;
    line-height: 42px;
}
.sidebar-nav > li a {
    display: block;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
}
.sidebar-nav > li > a:hover,
.sidebar-nav > li.active > a {
    text-decoration: none;
    color: #ffffd2;
}
.sidebar-nav > li > a i.fa {
    font-size: 20px;
    width: 50px;
}
/* submenu list */
.admin-menu-item ul {
    list-style-type: none;

    margin: 0 !important;
    padding: 5px !important;
}

/* Submenu item background color and hover effect */
.sub-item.active,
.sub-item:hover {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.sub-item:hover {
    transform: scale(1.02); /* Add hover scaling effect if needed */
}

/*  box shadow for admin-menu items  */

li.admin-menu-item {
    font-size: 15px !important;
    font-weight: 600 !important;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

#navbar-wrapper {
    width: 100%;
    position: absolute;
    z-index: 2;
}
#admin-wrapper.toggled #navbar-wrapper {
    position: absolute;
    margin-right: -250px;
}
#navbar-wrapper .navbar {
    border-width: 0 0 0 0;
    font-size: 24px;
    margin-bottom: 0;
    border-radius: 0;
}
#navbar-wrapper .navbar a {
    color: #fff;
}

#content-wrapper {
    width: 100%;
    position: absolute;
    padding: 15px;
    top: 100px;
}
#admin-wrapper.toggled #content-wrapper {
    position: absolute;
    margin-right: -250px;
}

@media (min-width: 992px) {
    #admin-wrapper {
        padding-left: 250px;
    }

    #admin-wrapper.toggled {
        padding-left: 60px;
    }

    #sidebar-wrapper {
        width: 250px;
    }

    #admin-wrapper.toggled #sidebar-wrapper {
        width: 60px;
    }

    #admin-wrapper.toggled #navbar-wrapper {
        position: absolute;
        margin-right: -190px;
    }

    #admin-wrapper.toggled #content-wrapper {
        position: absolute;
        margin-right: -190px;
    }

    #navbar-wrapper {
        position: relative;
    }

    #admin-wrapper.toggled {
        padding-left: 60px;
    }

    #content-wrapper {
        position: relative;
        top: 0;
    }

    #admin-wrapper.toggled #navbar-wrapper,
    #admin-wrapper.toggled #content-wrapper {
        position: relative;
        margin-right: 60px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #admin-wrapper {
        padding-left: 60px;
    }

    #sidebar-wrapper {
        width: 60px;
    }

    #admin-wrapper.toggled #navbar-wrapper {
        position: absolute;
        margin-right: -250px;
    }

    #admin-wrapper.toggled #content-wrapper {
        position: absolute;
        margin-right: -250px;
    }

    #navbar-wrapper {
        position: relative;
    }

    #admin-wrapper.toggled {
        padding-left: 250px;
    }

    #content-wrapper {
        position: relative;
        top: 0;
    }

    #admin-wrapper.toggled #navbar-wrapper,
    #admin-wrapper.toggled #content-wrapper {
        position: relative;
        margin-right: 250px;
    }
}

@media (max-width: 767px) {
    #admin-wrapper {
        padding-left: 0;
    }

    #sidebar-wrapper {
        width: 0;
    }

    #admin-wrapper.toggled #sidebar-wrapper {
        width: 250px;
    }
    #admin-wrapper.toggled #navbar-wrapper {
        position: absolute;
        margin-right: -250px;
    }

    #admin-wrapper.toggled #content-wrapper {
        position: absolute;
        margin-right: -250px;
    }

    #navbar-wrapper {
        position: relative;
    }

    #admin-wrapper.toggled {
        padding-left: 250px;
    }

    #content-wrapper {
        position: relative;
        top: 0;
    }

    #admin-wrapper.toggled #navbar-wrapper,
    #admin-wrapper.toggled #content-wrapper {
        position: relative;
        margin-right: 250px;
    }
}

/* down chevron */
.sidebar-nav > li > a i.fa.fa-chevron-down {
    font-size: 14px;
    width: 75px;
    text-align: end;
    vertical-align: middle;
}

/* header topbar */
.navbar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* topbar menu */
.topleft-menu {
    padding: 10px; /* Add padding as needed */
}
/* Style for the topright-menu */
.topright-menu {
    /* Add any specific styles you want for the topright-menu */
    display: flex;
    justify-content: right;
    padding: 10px; /* Add padding as needed */
}
.topright-menu a {
    list-style-type: none;
    text-decoration: none;
    font-size: 18px;
}

.dropdown-menu[data-bs-popper] {
    top: 100%;
    left: initial !important;
    margin-top: var(--bs-dropdown-spacer);
    position: absolute;
    right: 0.5rem !important;
}

/*   Admin Login Form */
.gradient-custom-2 {
    /* fallback for old browsers */
    background: #fccb90;

    /* Chrome 10-25, Safari 5.1-6 */
    background: -webkit-linear-gradient(
        to right,
        #129f8c,
        #36afd8,
        #243ea7,
        #a654c9
    );

    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background: linear-gradient(to right, #129f8c, #36afd8, #243ea7, #a654c9);
}

/* Admin Registration form */
.gradient-custom-3 {
    /* fallback for old browsers */
    background: #84fab0;

    /* Chrome 10-25, Safari 5.1-6 */
    background: -webkit-linear-gradient(
        to right,
        rgba(132, 250, 176, 0.5),
        rgba(143, 211, 244, 0.5)
    );

    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background: linear-gradient(
        to right,
        rgba(132, 250, 176, 0.5),
        rgba(143, 211, 244, 0.5)
    );
}

/* List  & Form Background  */
.form-background {
    background-color: hsl(330, 71%, 97%);
}
.card {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

/* bed icons  */
i.fa.fas.fa-procedures.green-bed {
    font-size: 30px;
    color: green;
}
i.fa.fas.fa-procedures.red-bed {
    font-size: 30px;
    color: rgb(231, 14, 14);
}
.bed-icons {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

/*  Patient Name & Phone-no Search Box */

.search-box {
    position: relative;
}

#ipdsearch-box-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: #fff;
    border: 1px solid #eeeeee;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    max-height: 300px;
    overflow-y: auto;
}

.search-result {
    padding: 5px;
    cursor: pointer;
}

.search-result:hover {
    background-color: #f0f0f0;
}

/* Doctors OPD Time Table on OPD  Booking  Appointment Show */

.toggle-button {
    margin-right: 10px; /* Adjust the margin as needed */
    background-color: #fff; /* Default button color */
    border: 1px solid #ccc;
    padding: 5px 10px;
    cursor: pointer;
}

.toggle-button.active {
    background-color: red; /* Red color when button is clicked */
}

.error-message {
    color: red; /* Red color for error messages */
}
/*  prescription Form */
.hospital-logo img {
    width: 10rem;
}
.medical-symbol img {
    /* width: 10rem; */
    height: 10rem;
}
.save-girl img {
    width: 10rem;
    margin-left: auto;
}
.Doctor-details span {
    display: block;
}
/* patient details  */
fieldset {
    background-color: #fff !important;
    padding: 0.5rem !important; /* Padding inside the fieldset */
    margin-bottom: 25px !important; /* Bottom margin to separate fieldsets */
    position: relative !important;
    border: 1px solid #f3f3f3 !important;
    border-radius: 10px !important;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

legend {
    position: absolute;
    top: -1.5rem !important; /* Adjust this value to control the distance between legend and fieldset border */
    background-color: #cbcaca; /* Background color to cover the fieldset border */
    padding: 0 10px !important;
    width: 27% !important;
    font-size: 18px !important;
    font-weight: 500;
    border-radius: 5px !important;
}
span.prescription-form {
    width: 5rem;
    vertical-align: middle;
    font-weight: 500;
}
.tbody-row {
    background-color: #f3f3f3 !important;
}
.tbody-row.select2 {
    border: 0px !important;
}
select.tbody-row {
    border: 0px !important;
}
td {
    vertical-align: middle;
    font-weight: 500 !important;
}
/* pres new row */
td.pres-newrow {
    border: 0;
    text-align: left;
    justify-content: left !important;
}

/*  prescription Form */

/* prescription footer */
.pfooter {
    background-color: #fde6f2;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-radius: 10px;
}
.pfooter span {
    display: block;
    font-size: 14px;
}
/* Form check  */
.form-check-input:checked {
    background-color: #6f003c !important;
    border-color: #6f003c !important;
}
.form-check {
    font-size: 25px !important;
    padding-bottom: 2rem !important;
}

/* Bed card  */
#bed-details-card {
    background-color: #6e013a;
    color: #fff;
    border-radius: 5px;
    padding: 1rem;
    z-index: 99;
}
#bed-details-card span {
    display: block;
}

/* button colors  */
.cwc-btn-primary {
    border: none;
    background-color: #780000 !important;
    color: #fff !important;
    font-weight: 600 !important;
}
.cwc-btn-success {
    border: none;
    background-color: #0a9396 !important;
    color: #fff !important;
    font-weight: 600 !important;
}
.cwc-btn-warning {
    border: none;
    background-color: #e85d04 !important;
    color: #fff !important;
    font-weight: 600 !important;
}
.cwc-btn-info {
    border: none;
    background-color: #a53860 !important;
    color: #fff !important;
    font-weight: 600 !important;
}
.btn-danger {
    color: #fff !important;
    font-weight: 600 !important;
}
/* discharge form  */

/* condition on admin/discharge input fields labels */
span.dis-condition {
    width: 7rem;
    text-wrap: balance;
    font-weight: 500;
}
span.dis-condition-sm {
    width: 5rem;
    text-wrap: balance;
    font-weight: 500;
}

/* CSS for the historty pop-up box */

/* Prescrition/IPD/Invoice Header design */

.medical-symbol.col-md-4 h3 {
    font-size: 30px !important;
    font-weight: 700;
    color: #981210 !important;
}
/*  Dashboard Status */

.rounded-circle {
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
}
.stat-icon i {
    font-size: 30px !important;
    padding-top: 0.25rem !important;
}
.stats {
    font-weight: 500;
}
/* Ckeditore notification hide */
.cke_notification {
    display: none;
}
